const axios = require('axios')
const COS = require('cos-nodejs-sdk-v5');
const constant = require('../constant/index.js')
const currentBucket =  {
   Bucket:constant.BUCKET,
   Region:constant.REGION,
   SecretId:constant.SECRET_ID,
   SecretKey:constant.SECRET_KEY }
const cos = new COS({...currentBucket})
module.exports =cos